package de.pa2.proxy;

public class Url {
	private final boolean secure;

	private final String hostname;
	private final int port;
	private final String location;

	public Url(boolean secure, String hostname, int port, String location) {
		super();
		this.secure = secure;
		this.hostname = hostname;
		this.port = port;
		this.location = location;
	}

	public boolean isSecure() {
		return secure;
	}

	public String getHostname() {
		return hostname;
	}

	public int getPort() {
		return port;
	}

	public String getLocation() {
		return location;
	}
}
